<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">

	<ui:composition 
	  xmlns="http://www.w3.org/1999/xhtml"
      xmlns:h="http://java.sun.com/jsf/html"
      xmlns:f="http://java.sun.com/jsf/core"
      xmlns:ui="http://java.sun.com/jsf/facelets"
      xmlns:p="http://primefaces.org/ui"
      template="/templates/templateLayout.xhtml">
      
      <ui:define name="conteudo">    
      <link rel="stylesheet" type="text/css" href="./estilos.css"/>   	
  	
<h:form id="formEditarCondicaoPagamento">  
	<p:panel id="panelEditarCondicaoPagamento" header="Manter CondicaoPagamento" style="margin-bottom:20px; ">  
	<f:facet name="header">
		<h:outputText value="Editar Condicao de Pagamento" styleClass="outputTextTitulo"/>
	</f:facet> 
 	<p:growl id="growl" showDetail="true"/> 
    	<h:panelGrid  columns="2" style="margin-top:20px; margin-right:10%;">  
            <h:outputLabel value="Código" styleClass="outputLabel"/>  
            <h:outputLabel value="Condicao de Pagamento" styleClass="outputLabel"/>             
            <p:inputText value="#{condicaoPagamentoBean.condicaoPagamentoSave.idCondicaoPagamento}" styleClass="inputId" disabled="true" />  
  			<p:inputText value="#{condicaoPagamentoBean.condicaoPagamentoSave.descricao}" styleClass="inputDescricao"/>  
        </h:panelGrid>  
 
    </p:panel>  
    <p:commandButton value="Salvar" actionListener="#{condicaoPagamentoBean.saveCondicaoPagamento}" update="panelEditarCondicaoPagamento" style="margin-right:20px; margin-left:10px;" /> 
	<p:commandButton value="Cancelar" action="#{condicaoPagamentoBean.consultarCondicaoPagamento}" style="margin-right:20px;" /> 
</h:form>  	


</ui:define>
</ui:composition>
